-
-
Notifications
You must be signed in to change notification settings - Fork 99
Refactors CLI commands to use dependency injection #859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@jyecusch is attempting to deploy a commit to the Nitric Team on Vercel. A member of the Team first needs to authorize it. |
To enable more granular testing
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #859 +/- ##
=======================================
Coverage ? 47.57%
=======================================
Files ? 23
Lines ? 2804
Branches ? 0
=======================================
Hits ? 1334
Misses ? 1380
Partials ? 90
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
further reduces coupling between cli services
Refactors the CLI commands (access-token, login/logout, templates, and build) to utilise dependency injection for authentication and the nitric client.
Dependencies
struct to encapsulate dependencies such as the WorkOS authentication client and Nitric API client.NewAccessTokenCmd
) to accept aDependencies
instance.